package com.ruoyi.goods.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品分类对象 product_categories
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductCategories extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类唯一标识符，自增 */
    @TableId(value = "id")
    private Long id;

    /** 关联的商品 ID */


    /** 分类名称 */
    @Excel(name = "分类名称")
    @TableField(value = "category_name")
    private String categoryName;

    /** 逻辑删除标识，默认不删除 */
    @Excel(name = "逻辑删除标识，默认不删除")
    private Integer isDeleted;

    @TableField(value = "products")
    private Products products;

}
